#include <math.h>
#include <iostream>
#include <conio.h>
using namespace std;
int main() {
int a,b;
cout<<"vvedite A:\n";
cin>>a;cout<<"vvedite B\n";cin>>b;
cout<<"srednee arifmeticheskoe="<<a+b/2<<"\n";
system("pause");
}
